package com.sh.pojo.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class RenameFolderBO {
    @NotBlank(message = "桶不能为空！")
    private String bucket;
    @Pattern(regexp = ".*/$", message = "路径需要以'/'结束")
    private String path;
    @NotBlank(message = "源文件夹名不能为空！")
    private String oldFolderName;
    @NotBlank(message = "目标文件夹名不能为空！")
    private String newFolderName;
}
